﻿/////////////////////////////////////////////////////////////////////////////////////////////
// <copyright file="MailUserScripts.cs" company="Microsoft Corporation">
//     Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
/////////////////////////////////////////////////////////////////////////////////////////////

namespace Microsoft.LiveAtEdu.Samples.Powershell.OutlookLive
{
    /// <summary>
    /// Name of scripts used for powershell commands.
    /// </summary>
    internal static class MailUserScripts
    {
        /// <summary>
        /// Name of script used to create a mail user 
        /// </summary>
        internal const string CreateMailUserScript = @"New-MailUser -Name '{0}' -Password:(ConvertTo-SecureString {5} -AsPlainText –Force) -WindowsLiveID '{6}' -FirstName '{1}' -LastName '{2}' -DisplayName '{3}'
                            Set-MailUser '{0}' -EmailAddresses SMTP:{6}, {4}
                            Set-MailUser '{0}' -ExternalEmailAddress {4}
                            Set-MailUser '{0}' -EmailAddresses SMTP:{6}, {4}";
    }
}
